import helper from "./helper";
const tagType = {
  get list() {
    return {
      value: 1,
      text: "列表",
    };
  },
  get text() {
    return {
      value: 2,
      text: "文本",
    };
  },
  get date() {
    return {
      value: 3,
      text: "日期",
    };
  },
  get array() {
    return helper.objectToArray(tagType);
  },
  get(value) {
    return helper.getEnumItemByValue(tagType, value);
  },
};
export default tagType;
